package com.ljq.rpc.annotations;

import com.ljq.rpc.client.condition.ClientCondition;
import com.ljq.rpc.server.condition.ServerCondition;
import org.springframework.context.annotation.Conditional;
import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * 被该注解注释的类会被rpc代理
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Conditional(ClientCondition.class)
public @interface Deposit {
    String value() default "";
}
